﻿if GetLocale() == "zhCN" then
    UFP_OP_Accept = "接受"
    UFP_OP_Cancel = "取消"
    UFP_OP_Mouseshow_info = "请先设置系统状态文字显示方式";
    UFP_OP_Global_Options = "全局设置";
    UFP_OP_Portrait = "更改头像";
    UFP_OP_NPCNo = "NPC不显示";
    UFP_OP_3D = "3D";
    UFP_OP_CLASS = "职业";
    UFP_OP_ClassPortrait = "职业头像";
    UFP_OP_SYS_OnBar = "系统状态文字设置";
    UFP_OP_SYS_OnBar_Unit = "状态文字显示为万/亿";
    UFP_OP_Player_Options = "玩家设定";
    UFP_OP_Player_Autohide = "头像自动隐藏";
    UFP_OP_Scale = "缩放：";
    UFP_OP_FontSize = "字体大小：";
    UFP_OP_Player_Dragon = "显示精英头像";
    UFP_OP_Player_Elite = "精英";
    UFP_OP_Player_RareElite = "稀有精英";
    UFP_OP_Player_Rare = "稀有";
    UFP_OP_Player_Extrabar = "显示扩展框";
    UFP_OP_HPMP = "显示额外生命和法力";
    UFP_OP_Player_NumCur = "当前值";
    UFP_OP_Player_NumMax = "最大值";
    UFP_OP_Player_NumLoss = "损失值";
    UFP_OP_Player_None = "不显示";
    UFP_OP_Player_Pct = "百分比";
    UFP_OP_Player_Unit = "数值进位";
    UFP_OP_Player_UnitW = "万/亿";
    UFP_OP_Player_UnitK = "K/M";
    UFP_OP_Player_Coordinate = "显示坐标";
    UFP_OP_Pet_Options = "宠物设定";
    UFP_OP_Pet_Target = "显示宠物目标";
    UFP_OP_Pet_TargetTmp = "临时显示(用于设置)";
    UFP_OP_Target_Options = "目标设定";
    UFP_OP_Target_BuffSize = "调节buff/debuff图标大小";
    UFP_OP_Target_MySize = "自己：";
    UFP_OP_Target_OtherSize = "他人：";
    UFP_OP_ToT_Options = "目标的目标";
    UFP_OP_Target_SYSToT = "系统ToT状态";
    UFP_OP_Target_AutoToT = "自动关闭系统ToT";
    UFP_OP_Target_ToT = "显示ToT";
    UFP_OP_Target_ToToT = "显示ToToT";
    UFP_OP_EnemyCheck = "敌友检测";
    UFP_OP_Debuff = "显示Debuff";
    UFP_OP_Cooldown = "显示冷却计时";
    UFP_OP_BuiltinCooldown = "使用内置冷却计时";
    UFP_OP_BuiltinCooldowntext = "显示冷却计时数值";
    UFP_OP_BuiltinExactEnemyHP = "使用内置精确生命值";
    -- UFP_OP_BuiltinExactEnemyHPPrune = "精简内置数据";
    UFP_OP_BuiltinThreat = "仇恨高亮";
    UFP_OP_BuiltinThreattext = "显示仇恨百分比";
    -- UFP_OP_BuiltinThreatTooltip = "每个小队/团队成员都必须装有至少一个基于LibThreatClassic2的插件才能正常计算仇恨";
    UFP_OP_ColorName = "名字职业染色";
    UFP_OP_Portrait_Indicator = "显示头像内战斗信息";
    UFP_OP_Portrait_3DBG = "显示3D头像背景";
    UFP_OP_HPPct = "显示生命值百分比";
    UFP_OP_MPPct = "显示法力值百分比";
    UFP_OP_ClassIcon = "显示职业图标";
    UFP_OP_Race = "显示种族或类型";
    UFP_OP_ColorHP = "生命条染色";
    UFP_OP_ColorHP_Class = "职业";
    UFP_OP_ColorHP_HPPct = "生命值";
    UFP_OP_ClassIcon_MoreAction = "左键观察/右键交易/中键密语/四号键跟随";
    -- UFP_OP_Focus_Options = "焦点设定";
    -- UFP_OP_Focus_QuickFocus = "快速焦点"
    -- UFP_OP_FocusTarget_Options = "焦点目标";
    -- UFP_OP_Focus_ToF = "显示焦点目标";
    UFP_OP_ShortName = "隐藏服务器名";
    UFP_OP_Party_Options = "队伍设定";
    UFP_OP_Party_Origin = "关闭团队风格小队界面";
    UFP_OP_Party_Pet = "显示队友宠物";
    UFP_OP_Party_Level = "显示等级";
    UFP_OP_Party_HP = "显示生命值";
    UFP_OP_Party_HPPct = "显示为百分比";
    UFP_OP_PartyTarget_Options = "队友目标";
    UFP_OP_Party_Target = "显示队友目标";
    UFP_OP_Party_TargetLite = "简易模式";
    UFP_OP_Party_OnOff = "离线监测";
    UFP_OP_Party_HideRaid = "隐藏系统团队框架";
    UFP_OP_Party_Always = "团队中显示小队";
    UFP_OP_Party_Error = "\n\n注意：可能导致战斗中插件报错";
    UFP_OP_Buff = "显示Buff";
    UFP_OP_Filter = "Buff过滤";
    UFP_OP_FilterAll = "所有";
    UFP_OP_FilterCancel1 = "可取消";
    UFP_OP_FilterCancel2 = "不可取消";
    UFP_OP_FilterCaster1 = "团队施放";
    UFP_OP_FilterCaster2 = "自己施放";
    -- UFP_OP_Highlight = "与玩家目标相同时高亮";
    UFP_OP_HideBuffTip = "隐藏Buff鼠标提示";
    UFP_OP_Party_CastBar = "显示施法条";
    UFP_OP_Party_Death = "死亡/鬼魂状态监测";
    UFP_OP_Shift_Movable = "Shift+左键拖动头像";
    UFP_OP_Bartex = "显示系统状态条数值";
    UFP_OP_Mouse_Show = "鼠标滑过状态条时显示数值";
    UFP_OP_InfoText = "UnitFramesPlus(|cFFFFFF99UFP|R)是一款以系统头像为基础的界面增强插件。";
    UFP_OP_InfoText2 = "请点击左侧列表中的选项进行详细设置。";
    UFP_OP_InfoText3 = "欢迎发送邮件到|cFFFFFF99isler@live.com|R提出您的意见和建议。";
    UFP_OP_InfoText4 = "内置冷却计时基于LibClassicDurations。";
    UFP_OP_InfoText5 = "内置敌对目标精确生命值显示基于LibClassicMobHealth-1.0。";
    UFP_OP_InfoText6 = "内置敌对目标仇恨高亮/百分比显示基于LibThreatClassic2。";
    UFP_OP_Reset = "恢复默认设置";
    UFP_OP_Reload_info = "需重载界面";
    UFP_OP_MinimapButton_Show = "显示小地图设置按钮";
    UFP_OP_Ext_Options = "其他设定";
    UFP_OP_Ext_BossHPPct = "BOSS生命值百分比";
    UFP_OP_RangeCheck = "治疗距离检测";
    UFP_OP_RangeCheck_InInstance = "仅在战场副本内生效";
elseif GetLocale() == "zhTW" then
    UFP_OP_Accept = "接受"
    UFP_OP_Cancel = "取消"
    UFP_OP_Mouseshow_info = "請先設置系統狀態文字顯示方式";
    UFP_OP_Global_Options = "全域設置";
    UFP_OP_Portrait = "更改頭像";
    UFP_OP_NPCNo = "NPC不顯示";
    UFP_OP_3D = "3D";
    UFP_OP_CLASS = "職業";
    UFP_OP_ClassPortrait = "職業頭像";
    UFP_OP_SYS_OnBar = "系統狀態文字設置";
    UFP_OP_SYS_OnBar_Unit = "狀態文字顯示為萬/億";
    UFP_OP_Player_Options = "玩家設定";
    UFP_OP_Player_Autohide = "頭像自動隱藏";
    UFP_OP_Scale = "縮放：";
    UFP_OP_FontSize = "字體大小：";
    UFP_OP_Player_Dragon = "顯示精英頭像";
    UFP_OP_Player_Elite = "精英";
    UFP_OP_Player_RareElite = "稀有精英";
    UFP_OP_Player_Rare = "稀有";
    UFP_OP_Player_Extrabar = "顯示擴展框";
    UFP_OP_HPMP = "顯示額外生命和法力";
    UFP_OP_Player_NumCur = "當前值";
    UFP_OP_Player_NumMax = "最大值";
    UFP_OP_Player_NumLoss = "損失值";
    UFP_OP_Player_None = "不顯示";
    UFP_OP_Player_Pct = "百分比";
    UFP_OP_Player_Unit = "數值進位";
    UFP_OP_Player_UnitW = "萬/億";
    UFP_OP_Player_UnitK = "K/M";
    UFP_OP_Player_Coordinate = "顯示座標";
    UFP_OP_Pet_Options = "寵物設定";
    UFP_OP_Pet_Target = "顯示寵物目標";
    UFP_OP_Pet_TargetTmp = "臨時顯示(用於設置)";
    UFP_OP_Target_Options = "目標設定";
    UFP_OP_Target_BuffSize = "調節buff/debuff圖示大小";
    UFP_OP_Target_MySize = "自己：";
    UFP_OP_Target_OtherSize = "他人：";
    UFP_OP_ToT_Options = "目標的目標";
    UFP_OP_Target_SYSToT = "系統ToT狀態";
    UFP_OP_Target_AutoToT = "自動關閉系統ToT";
    UFP_OP_Target_ToT = "顯示ToT";
    UFP_OP_Target_ToToT = "顯示ToToT";
    UFP_OP_EnemyCheck = "敵友檢測";
    UFP_OP_Debuff = "顯示Debuff";
    UFP_OP_Cooldown = "顯示冷卻計時";
    UFP_OP_BuiltinCooldown = "使用內置冷卻計時";
    UFP_OP_BuiltinCooldowntext = "顯示冷卻計時數值";
    UFP_OP_BuiltinExactEnemyHP = "使用內置精確生命值";
    -- UFP_OP_BuiltinExactEnemyHPPrune = "精簡內置資料";
    UFP_OP_BuiltinThreat = "使用內置仇恨高亮";
    UFP_OP_BuiltinThreattext = "顯示仇恨百分比";
    UFP_OP_BuiltinThreatTooltip = "每個小隊/團隊成員都必須裝有至少一個基於LibThreatClassic2的插件才能正常計算仇恨";
    UFP_OP_ColorName = "名字職業染色";
    UFP_OP_Portrait_Indicator = "顯示頭像內戰鬥資訊";
    UFP_OP_Portrait_3DBG = "顯示3D頭像背景";
    UFP_OP_HPPct = "顯示生命值百分比";
    UFP_OP_MPPct = "顯示法力值百分比";
    UFP_OP_ClassIcon = "顯示職業圖示";
    UFP_OP_Race = "顯示種族或類型";
    UFP_OP_ColorHP = "生命條染色";
    UFP_OP_ColorHP_Class = "職業";
    UFP_OP_ColorHP_HPPct = "生命值";
    UFP_OP_ClassIcon_MoreAction = "左鍵觀察/右鍵交易/中鍵密語/四號鍵跟隨";
    -- UFP_OP_Focus_Options = "焦點設定";
    -- UFP_OP_Focus_QuickFocus = "快速焦點"
    -- UFP_OP_FocusTarget_Options = "焦點目標";
    -- UFP_OP_Focus_ToF = "顯示焦點目標";
    UFP_OP_ShortName = "隱藏伺服器名";
    UFP_OP_Party_Options = "隊伍設定";
    UFP_OP_Party_Origin = "關閉團隊風格小隊介面";
    UFP_OP_Party_Pet = "顯示隊友寵物";
    UFP_OP_Party_Level = "顯示等級";
    UFP_OP_Party_HP = "顯示生命值";
    UFP_OP_Party_HPPct = "顯示為百分比";
    UFP_OP_PartyTarget_Options = "隊友目標";
    UFP_OP_Party_Target = "顯示隊友目標";
    UFP_OP_Party_TargetLite = "簡易模式";
    UFP_OP_Party_OnOff = "離線監測";
    UFP_OP_Party_HideRaid = "隱藏系统團隊框架";
    UFP_OP_Party_Always = "團隊中顯示小隊";
    UFP_OP_Party_Error = "\n\n注意：可能導致戰鬥中插件報錯";
    UFP_OP_Buff = "顯示Buff";
    UFP_OP_Filter = "Buff過濾";
    UFP_OP_FilterAll = "所有";
    UFP_OP_FilterCancel1 = "可取消";
    UFP_OP_FilterCancel2 = "不可取消";
    UFP_OP_FilterCaster1 = "團隊施放";
    UFP_OP_FilterCaster2 = "自己施放";
    -- UFP_OP_Highlight = "與玩家目標相同時高亮";
    UFP_OP_HideBuffTip = "隱藏Buff滑鼠提示";
    UFP_OP_Party_CastBar = "顯示施法條";
    UFP_OP_Party_Death = "死亡/鬼魂狀態監測";
    UFP_OP_Shift_Movable = "Shift+左鍵拖動頭像";
    UFP_OP_Bartex = "顯示系統狀態條數值";
    UFP_OP_Mouse_Show = "滑鼠滑過狀態條時顯示數值";
    UFP_OP_InfoText = "UnitFramesPlus(|cFFFFFF99UFP|R)是一款以系統頭像為基礎的介面增強插件。";
    UFP_OP_InfoText2 = "請點擊左側清單中的選項進行詳細設置。";
    UFP_OP_InfoText3 = "歡迎發送郵件到|cFFFFFF99isler@live.com|R提出您的意見和建議。";
    UFP_OP_InfoText4 = "內置冷卻計時基於LibClassicDurations。";
    UFP_OP_InfoText5 = "內置敵對目標精確生命值顯示基於LibClassicMobHealth-1.0。";
    UFP_OP_InfoText6 = "內置敵對目標仇恨高亮/百分比顯示基於LibThreatClassic2。";
    UFP_OP_Reset = "恢復默認設置";
    UFP_OP_Reload_info = "需重載介面";
    UFP_OP_MinimapButton_Show = "顯示小地圖設置按鈕";
    UFP_OP_Ext_Options = "其他設定";
    UFP_OP_Ext_BossHPPct = "BOSS生命值百分比";
    UFP_OP_RangeCheck = "治療距離檢測";
    UFP_OP_RangeCheck_InInstance = "僅在戰場副本內生效";
else
    UFP_OP_Accept = "Accept"
    UFP_OP_Cancel = "Cancel"
    UFP_OP_Mouseshow_info = "Please set system status text first.";
    UFP_OP_Global_Options = "Global Options";
    UFP_OP_Portrait = "Enhanced portrait";
    UFP_OP_NPCNo = "Disabled for NPC";
    UFP_OP_3D = "3D";
    UFP_OP_CLASS = "Class";
    UFP_OP_ClassPortrait = "Class portrait";
    UFP_OP_SYS_OnBar = "System statusbar settings";
    UFP_OP_SYS_OnBar_Unit = "Show Wan/Yi for ZH";
    UFP_OP_Player_Options = "Player Options";
    UFP_OP_Player_Autohide = "Auto hide";
    UFP_OP_Scale = "Scale: ";
    UFP_OP_FontSize = "Font: ";
    UFP_OP_Player_Dragon = "Dragon border";
    UFP_OP_Player_Elite = "Elite";
    UFP_OP_Player_RareElite = "Rare elite";
    UFP_OP_Player_Rare = "Rare";
    UFP_OP_Player_Extrabar = "Extended border";
    UFP_OP_HPMP = "Extra HP & MP";
    UFP_OP_Player_NumCur = "Current";
    UFP_OP_Player_NumMax = "Max";
    UFP_OP_Player_NumLoss = "Loss";
    UFP_OP_Player_None = "None";
    UFP_OP_Player_Pct = "Percent";
    UFP_OP_Player_Unit = "Base-1k";
    UFP_OP_Player_UnitW = "Wan/Yi";
    UFP_OP_Player_UnitK = "K/M";
    UFP_OP_Player_Coordinate = "Player coordinate";
    UFP_OP_Pet_Options = "PlayerPet";
    UFP_OP_Pet_Target = "Enable pet target";
    UFP_OP_Pet_TargetTmp = "Temporary display (for setting)";
    UFP_OP_Target_Options = "Target Options";
    UFP_OP_Target_BuffSize = "Resize buff icon";
    UFP_OP_Target_MySize = "Player: ";
    UFP_OP_Target_OtherSize = "Others: ";
    UFP_OP_ToT_Options = "TargetTarget";
    UFP_OP_Target_SYSToT = "System ToT settings";
    UFP_OP_Target_AutoToT = "Disable system ToT automatically";
    UFP_OP_Target_ToT = "Enable ToT";
    UFP_OP_Target_ToToT = "Enable ToToT";
    UFP_OP_EnemyCheck = "Enemy check";
    UFP_OP_Debuff = "Debuff";
    UFP_OP_Cooldown = "Cooldown";
    UFP_OP_BuiltinCooldown = "Built-in Cooldown";
    UFP_OP_BuiltinCooldowntext = "Cooldown text";
    UFP_OP_BuiltinExactEnemyHP = "Exact target HP";
    -- UFP_OP_BuiltinExactEnemyHPPrune = "Prune built-in data";
    UFP_OP_BuiltinThreat = "Built-in Threat highlight";
    UFP_OP_BuiltinThreattext = "Built-in Threat percent";
    UFP_OP_BuiltinThreatTooltip = "Each party/raid member should use at least one LibThreatClassic2 based addon for threat calculation";
    UFP_OP_ColorName = "Class colored name";
    UFP_OP_Portrait_Indicator = "Portrait combat indicator";
    UFP_OP_Portrait_3DBG = "Portrait background";
    UFP_OP_HPPct = "HP percent";
    UFP_OP_MPPct = "MP percent";
    UFP_OP_ClassIcon = "Class icon";
    UFP_OP_Race = "Race/type text";
    UFP_OP_ColorHP = "Colored healthbar";
    UFP_OP_ColorHP_Class = "Class";
    UFP_OP_ColorHP_HPPct = "HP Pct";
    UFP_OP_ClassIcon_MoreAction = "Inspect/Trade/Whisper/Follow";
    -- UFP_OP_Focus_Options = "Focus Options";
    -- UFP_OP_Focus_QuickFocus = "Quick focus"
    -- UFP_OP_FocusTarget_Options = "FocusTarget";
    -- UFP_OP_Focus_ToF = "Enable focus target";
    UFP_OP_ShortName = "Hide realm name";
    UFP_OP_Party_Options = "Party Options";
    UFP_OP_Party_Origin = "Disable raid-style party frames";
    UFP_OP_Party_Pet = "Show party pet";
    UFP_OP_Party_Level = "Party member level";
    UFP_OP_Party_HP = "Party member HP";
    UFP_OP_Party_HPPct = "Show as percent";
    UFP_OP_PartyTarget_Options = "PartyTarget";
    UFP_OP_Party_Target = "Enable party target";
    UFP_OP_Party_TargetLite = "Lite mode";
    UFP_OP_Party_OnOff = "Offline detection";
    UFP_OP_Party_HideRaid = "Hide blizzard raid frame";
    UFP_OP_Party_Always = "Show party in raid";
    UFP_OP_Party_Error = "\n\nWarning: this may cause addon errors during combat";
    UFP_OP_Buff = "Party member buff";
    UFP_OP_Filter = "Buff filter";
    UFP_OP_FilterAll = "All";
    UFP_OP_FilterCancel1 = "Cancelable";
    UFP_OP_FilterCancel2 = "Not-cancelable";
    UFP_OP_FilterCaster1 = "Raid cast";
    UFP_OP_FilterCaster2 = "Self cast";
    -- UFP_OP_Highlight = "Highlight if same with player target";
    UFP_OP_HideBuffTip = "Diasble buff tooltip";
    UFP_OP_Party_CastBar = "Party member castbar";
    UFP_OP_Party_Death = "Death/ghost state detection";
    UFP_OP_Shift_Movable = "Shift + left button to drag unit frame";
    UFP_OP_Bartex = "Statusbar text";
    UFP_OP_Mouse_Show = "Mouseover statusbar text";
    UFP_OP_InfoText = "UnitFramesPlus (|cFFFFFF99UFP|R) is a simple addon to enhance Blizzard unitframes.";
    UFP_OP_InfoText2 = "Please select one option from the left list for detailed settings.";
    UFP_OP_InfoText3 = "Contact: |cFFFFFF99isler@live.com|R";
    UFP_OP_InfoText4 = "Built-in cooldown effect is powered by LibClassicDurations.";
    UFP_OP_InfoText5 = "Built-in exact HP numbers is based on LibClassicMobHealth-1.0.";
    UFP_OP_InfoText6 = "Built-in threat highlight and percent are powered by LibThreatClassic2.";
    UFP_OP_Reset = "Restore defaults";
    UFP_OP_Reload_info = "Reload your user interface.";
    UFP_OP_MinimapButton_Show = "Enable minimap button";
    UFP_OP_Ext_Options = "Other Options";
    UFP_OP_Ext_BossHPPct = "BOSS HP percent";
    UFP_OP_RangeCheck = "Healers\' range check";
    UFP_OP_RangeCheck_InInstance = "only enabled in instances";
end
